<template>
  <div>
    <van-pagination
      v-model="pagination.current"
      :total-items="pagination.total"
      :items-per-page="pagination.pageSize"
      @change="handlePageChange"
    />

    <van-cell-group>
      <template v-for="one in records">
        <TreeDispatch
          :key="one.id"
          :viewInfo="viewInfo"
          :data-info="{ record: one }"
        />
      </template>
    </van-cell-group>
  </div>
</template>

<script>
import listViewMixin from '@/mixins/listViewMixin'

import TreeDispatch from '@/components/OTree/TreeDispatch'

export default {
  name: 'TreeView',
  components: { TreeDispatch },
  mixins: [listViewMixin],

  props: {},

  data() {
    return {
      selectedRows: []
    }
  },
  computed: {},
  watch: {},
  async created() {},

  mounted() {},
  methods: {
    // onclickRow(record) {
    //   console.log(record)
    // },
  }
}
</script>

<style type="text/css"></style>
